﻿using System;
using System.Collections.Generic;
using System.Text;

namespace PDMCompare
{
    public class TableInfo
    {
        public string TableName;
        public List<FieldInfo> Fields = new List<FieldInfo>();

        public FieldInfo FindField(string fieldName)
        {
            FieldInfo ret = null;

            foreach (FieldInfo field in Fields)
            {
                if (field.FieldName.Equals(fieldName))
                {
                    ret = field;
                    break;
                }
            }

            return ret;
        }
    }
}
